﻿using ModelCoding.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ModelCoding.IServices
{
    public interface IDbServices
    {

        public Task<BaseStatus> GetDataBase(string Server, string UserName, string PassWord);
        public Task<BaseStatus> GetTable(string Server, string DataBaseName, string UserName, string PassWord);

        public BaseStatus GetDataSet(string Server, string DataBaseName, string UserName, string PassWord, List<string> TableList);
        public BaseStatus GetDataTable(string Server, string DataBaseName, string UserName, string PassWord, string TableName);
    }
}
